package com.xyoto.takeawayBusiness.mapper;

import com.xyoto.takeawayBusiness.entity.Shop;
import com.xyoto.takeawayBusiness.vo.ShopDataVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description
 * @Author: TingFeng
 * @CreateTime: 2022/5/4  15:24
 */
@Mapper
public interface ShopMapper {
    /**
     * 获取店铺信息
     * @param shopId
     * @return
     */
    ShopDataVo getShopData(Integer shopId);

    /**
     * 查询店铺信息
     * @param userShopId
     * @return
     */
    Shop getShopInfo(Integer userShopId);

    /**
     * 修改店铺信息
     * @param shop
     * @return
     */
    Integer updateShopInfo(Shop shop);
}
